home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / AppleScript / AppleScript™ Setup / User Release Notes / Script Editor / Using the Event Log
Unknown  |  1993-12-10  |  2.6 KB  |  [QUIL/quil]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default


id metadata
keyvalue
macFileType[QUIL]
macFileCreator[quil]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 00 00 07 b9 55 73 | 69 6e 67 20 74 68 65 20 |......Us|ing the |
|00000010| 45 76 65 6e 74 20 4c 6f | 67 0d 0d 54 68 65 20 45 |Event Lo|g..The E|
|00000020| 76 65 6e 74 20 4c 6f 67 | 20 69 6e 20 74 68 65 20 |vent Log| in the |
|00000030| 53 63 72 69 70 74 20 45 | 64 69 74 6f 72 20 70 72 |Script E|ditor pr|
|00000040| 6f 76 69 64 65 73 20 61 | 20 6d 65 74 68 6f 64 20 |ovides a| method |
|00000050| 6f 66 20 67 65 74 74 69 | 6e 67 20 64 69 61 67 6e |of getti|ng diagn|
|00000060| 6f 73 74 69 63 20 6f 75 | 74 70 75 74 20 66 72 6f |ostic ou|tput fro|
|00000070| 6d 20 73 63 72 69 70 74 | 20 65 78 65 63 75 74 69 |m script| executi|
|00000080| 6f 6e 2c 20 74 68 75 73 | 20 61 69 64 69 6e 67 20 |on, thus| aiding |
|00000090| 74 68 65 20 64 65 62 75 | 67 67 69 6e 67 20 70 72 |the debu|gging pr|
|000000a0| 6f 63 65 73 73 2e 20 20 | 54 68 65 20 6c 6f 67 20 |ocess. |The log |
|000000b0| 77 69 6e 64 6f 77 20 69 | 73 20 6f 70 65 6e 65 64 |window i|s opened|
|000000c0| 20 66 72 6f 6d 20 74 68 | 65 20 43 6f 6e 74 72 6f | from th|e Contro|
|000000d0| 6c 73 20 6d 65 6e 75 20 | 28 43 6d 64 2d 45 29 2e |ls menu |(Cmd-E).|
|000000e0| 0d 0d 54 68 65 20 22 53 | 68 6f 77 20 45 76 65 6e |..The "S|how Even|
|000000f0| 74 73 22 20 63 68 65 63 | 6b 62 6f 78 20 64 65 74 |ts" chec|kbox det|
|00000100| 65 72 6d 69 6e 65 73 20 | 77 68 65 74 68 65 72 20 |ermines |whether |
|00000110| 41 70 70 6c 65 20 65 76 | 65 6e 74 73 20 77 69 6c |Apple ev|ents wil|
|00000120| 6c 20 62 65 20 6c 6f 67 | 67 65 64 2e 20 20 49 66 |l be log|ged. If|
|00000130| 20 69 74 20 69 73 20 63 | 68 65 63 6b 65 64 2c 20 | it is c|hecked, |
|00000140| 61 6c 6c 20 41 70 70 6c | 65 20 65 76 65 6e 74 73 |all Appl|e events|
|00000150| 20 73 65 6e 74 20 66 72 | 6f 6d 20 74 68 65 20 63 | sent fr|om the c|
|00000160| 75 72 72 65 6e 74 20 73 | 63 72 69 70 74 20 77 69 |urrent s|cript wi|
|00000170| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |ll be di|splayed |
|00000180| 69 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 2e 20 20 |in the w|indow. |
|00000190| 20 43 68 65 63 6b 69 6e | 67 20 74 68 65 20 22 53 | Checkin|g the "S|
|000001a0| 68 6f 77 20 45 76 65 6e | 74 20 52 65 73 75 6c 74 |how Even|t Result|
|000001b0| 73 22 20 63 68 65 63 6b | 62 6f 78 20 63 61 75 73 |s" check|box caus|
|000001c0| 65 73 20 74 68 65 20 76 | 61 6c 75 65 20 72 65 74 |es the v|alue ret|
|000001d0| 75 72 6e 65 64 20 66 72 | 6f 6d 20 74 68 65 20 41 |urned fr|om the A|
|000001e0| 70 70 6c 65 20 65 76 65 | 6e 74 20 74 6f 20 62 65 |pple eve|nt to be|
|000001f0| 20 64 69 73 70 6c 61 79 | 65 64 2e 20 20 46 6f 72 | display|ed. For|
|00000200| 20 65 78 61 6d 70 6c 65 | 2c 20 65 78 65 63 75 74 | example|, execut|
|00000210| 69 6e 67 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ing the |followin|
|00000220| 67 20 73 63 72 69 70 74 | 20 20 0d 0d 74 65 6c 6c |g script| ..tell|
|00000230| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 22 53 63 | applica|tion "Sc|
|00000240| 72 69 70 74 61 62 6c 65 | 20 54 65 78 74 20 45 64 |riptable| Text Ed|
|00000250| 69 74 6f 72 22 0d 09 6e | 61 6d 65 20 6f 66 20 77 |itor"..n|ame of w|
|00000260| 69 6e 64 6f 77 20 31 0d | 65 6e 64 20 74 65 6c 6c |indow 1.|end tell|
|00000270| 0d 0d 70 72 6f 64 75 63 | 65 73 20 74 68 65 20 66 |..produc|es the f|
|00000280| 6f 6c 6c 6f 77 69 6e 67 | 20 6f 75 74 70 75 74 20 |ollowing| output |
|00000290| 69 6e 20 74 68 65 20 45 | 76 65 6e 74 20 4c 6f 67 |in the E|vent Log|
|000002a0| 2e 0d 0d 74 65 6c 6c 20 | 61 70 70 6c 69 63 61 74 |...tell |applicat|
|000002b0| 69 6f 6e 20 22 53 63 72 | 69 70 74 61 62 6c 65 20 |ion "Scr|iptable |
|000002c0| 54 65 78 74 20 45 64 69 | 74 6f 72 22 0d 09 67 65 |Text Edi|tor"..ge|
|000002d0| 74 20 6e 61 6d 65 20 6f | 66 20 77 69 6e 64 6f 77 |t name o|f window|
|000002e0| 20 31 0d 09 09 2d 2d 3e | 20 22 75 6e 74 69 74 6c | 1...-->| "untitl|
|000002f0| 65 64 22 0d 65 6e 64 20 | 74 65 6c 6c 0d 0d 49 66 |ed".end |tell..If|
|00000300| 20 22 53 68 6f 77 20 45 | 76 65 6e 74 73 22 20 69 | "Show E|vents" i|
|00000310| 73 20 6e 6f 74 20 63 68 | 65 63 6b 65 64 2c 20 6e |s not ch|ecked, n|
|00000320| 6f 20 65 76 65 6e 74 73 | 20 61 72 65 20 6c 6f 67 |o events| are log|
|00000330| 67 65 64 2e 0d 0d 41 64 | 64 69 74 69 6f 6e 61 6c |ged...Ad|ditional|
|00000340| 20 63 6f 6e 74 72 6f 6c | 20 6f 76 65 72 20 74 68 | control| over th|
|00000350| 65 20 6c 6f 67 20 6f 75 | 74 70 75 74 20 63 61 6e |e log ou|tput can|
|00000360| 20 62 65 20 6f 62 74 61 | 69 6e 65 64 20 77 69 74 | be obta|ined wit|
|00000370| 68 20 75 73 65 20 6f 66 | 20 74 68 65 20 53 74 61 |h use of| the Sta|
|00000380| 72 74 20 4c 6f 67 2c 20 | 53 74 6f 70 20 4c 6f 67 |rt Log, |Stop Log|
|00000390| 20 61 6e 64 20 4c 6f 67 | 20 63 6f 6d 6d 61 6e 64 | and Log| command|
|000003a0| 73 2e 0d 0d 4c 6f 67 0d | 0d 54 68 65 20 4c 6f 67 |s...Log.|.The Log|
|000003b0| 20 63 6f 6d 6d 61 6e 64 | 20 61 6c 6c 6f 77 73 20 | command| allows |
|000003c0| 79 6f 75 20 74 6f 20 6f | 75 74 70 75 74 20 61 6e |you to o|utput an|
|000003d0| 79 20 76 61 6c 75 65 20 | 64 75 72 69 6e 67 20 61 |y value |during a|
|000003e0| 6e 79 20 70 6f 69 6e 74 | 20 69 6e 20 73 63 72 69 |ny point| in scri|
|000003f0| 70 74 20 65 78 65 63 75 | 74 69 6f 6e 2e 20 20 46 |pt execu|tion. F|
|00000400| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|00000410| 66 6f 6c 6c 6f 77 69 6e | 67 20 73 63 72 69 70 74 |followin|g script|
|00000420| 0d 0d 6f 6e 20 66 6f 6f | 28 78 29 0d 09 78 20 2a |..on foo|(x)..x *|
|00000430| 20 78 0d 65 6e 64 20 66 | 6f 6f 0d 0d 6c 6f 67 20 | x.end f|oo..log |
|00000440| 33 0d 6c 6f 67 20 22 61 | 20 73 74 72 69 6e 67 22 |3.log "a| string"|
|00000450| 0d 6c 6f 67 20 66 6f 6f | 28 37 29 0d 0d 72 65 73 |.log foo|(7)..res|
|00000460| 75 6c 74 73 20 69 6e 20 | 74 68 65 20 66 6f 6c 6c |ults in |the foll|
|00000470| 6f 77 69 6e 67 20 6f 75 | 74 70 75 74 3a 0d 0d 28 |owing ou|tput:..(|
|00000480| 2a 33 2a 29 0d 28 2a 61 | 20 73 74 72 69 6e 67 2a |*3*).(*a| string*|
|00000490| 29 0d 28 2a 34 39 2a 29 | 0d 0d 4f 75 74 70 75 74 |).(*49*)|..Output|
|000004a0| 20 66 72 6f 6d 20 74 68 | 65 20 4c 6f 67 20 63 6f | from th|e Log co|
|000004b0| 6d 6d 61 6e 64 20 61 70 | 70 65 61 72 73 20 72 65 |mmand ap|pears re|
|000004c0| 67 61 72 64 6c 65 73 73 | 20 6f 66 20 74 68 65 20 |gardless| of the |
|000004d0| 73 65 74 74 69 6e 67 20 | 6f 66 20 74 68 65 20 63 |setting |of the c|
|000004e0| 68 65 63 6b 62 6f 78 65 | 73 2e 0d 0d 53 74 61 72 |heckboxe|s...Star|
|000004f0| 74 20 4c 6f 67 20 26 20 | 53 74 6f 70 20 4c 6f 67 |t Log & |Stop Log|
|00000500| 0d 0d 54 68 65 73 65 20 | 63 61 6e 20 62 65 20 75 |..These |can be u|
|00000510| 73 65 64 20 69 6e 20 63 | 6f 6e 6a 75 6e 63 74 69 |sed in c|onjuncti|
|00000520| 6f 6e 20 77 69 74 68 20 | 74 68 65 20 63 68 65 63 |on with |the chec|
|00000530| 6b 62 6f 78 65 73 20 74 | 6f 20 70 72 6f 76 69 64 |kboxes t|o provid|
|00000540| 65 20 66 69 6e 65 72 20 | 63 6f 6e 74 72 6f 6c 20 |e finer |control |
|00000550| 6f 76 65 72 20 74 68 65 | 20 6c 6f 67 67 69 6e 67 |over the| logging|
|00000560| 20 70 72 6f 63 65 73 73 | 2e 20 20 54 68 65 79 20 | process|. They |
|00000570| 61 72 65 20 75 73 65 64 | 20 74 6f 20 74 75 72 6e |are used| to turn|
|00000580| 20 6c 6f 67 67 69 6e 67 | 20 6f 66 66 20 61 6e 64 | logging| off and|
|00000590| 20 6f 6e 2e 20 20 0d 0d | 54 6f 20 62 65 20 6d 6f | on. ..|To be mo|
|000005a0| 72 65 20 73 70 65 63 69 | 66 69 63 2c 20 74 68 65 |re speci|fic, the|
|000005b0| 72 65 20 69 73 20 61 20 | 22 6c 6f 67 20 6c 65 76 |re is a |"log lev|
|000005c0| 65 6c 22 20 77 68 69 63 | 68 20 69 73 20 69 6e 63 |el" whic|h is inc|
|000005d0| 72 65 6d 65 6e 74 65 64 | 20 62 79 20 53 74 61 72 |remented| by Star|
|000005e0| 74 20 4c 6f 67 20 61 6e | 64 20 64 65 63 72 65 6d |t Log an|d decrem|
|000005f0| 65 6e 74 65 64 20 62 79 | 20 53 74 6f 70 20 4c 6f |ented by| Stop Lo|
|00000600| 67 2e 20 20 54 68 65 20 | 6c 6f 67 20 6c 65 76 65 |g. The |log leve|
|00000610| 6c 20 73 74 61 72 74 73 | 20 61 74 20 31 20 69 66 |l starts| at 1 if|
|00000620| 20 22 53 68 6f 77 20 45 | 76 65 6e 74 73 22 20 69 | "Show E|vents" i|
|00000630| 73 20 6f 6e 20 61 6e 64 | 20 30 20 69 66 20 69 74 |s on and| 0 if it|
|00000640| 20 69 73 20 6f 66 66 2e | 20 20 20 20 49 66 20 74 | is off.| If t|
|00000650| 68 65 20 6c 6f 67 20 6c | 65 76 65 6c 20 69 73 20 |he log l|evel is |
|00000660| 31 20 6f 72 20 67 72 65 | 61 74 65 72 2c 20 65 76 |1 or gre|ater, ev|
|00000670| 65 6e 74 73 20 61 72 65 | 20 73 68 6f 77 6e 2e 20 |ents are| shown. |
|00000680| 0d 0d 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 69 |..For ex|ample, i|
|00000690| 66 20 22 53 68 6f 77 20 | 45 76 65 6e 74 73 22 20 |f "Show |Events" |
|000006a0| 69 73 20 63 68 65 63 6b | 65 64 2c 20 74 68 69 73 |is check|ed, this|
|000006b0| 20 73 63 72 69 70 74 0d | 0d 6f 6e 20 66 6f 6f 28 | script.|.on foo(|
|000006c0| 29 0d 09 73 74 6f 70 20 | 6c 6f 67 0d 09 67 65 74 |)..stop |log..get|
|000006d0| 20 6e 61 6d 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 | name of| window |
|000006e0| 31 20 6f 66 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |1 of app|lication|
|000006f0| 20 22 53 63 72 69 70 74 | 61 62 6c 65 20 54 65 78 | "Script|able Tex|
|00000700| 74 20 45 64 69 74 6f 72 | 22 0d 09 73 74 61 72 74 |t Editor|"..start|
|00000710| 20 6c 6f 67 0d 65 6e 64 | 20 66 6f 6f 0d 0d 62 65 | log.end| foo..be|
|00000720| 65 70 0d 66 6f 6f 28 29 | 0d 62 65 65 70 0d 0d 72 |ep.foo()|.beep..r|
|00000730| 65 73 75 6c 74 73 20 69 | 6e 20 6f 6e 6c 79 20 74 |esults i|n only t|
|00000740| 68 65 20 32 20 62 65 65 | 70 20 63 6f 6d 6d 61 6e |he 2 bee|p comman|
|00000750| 64 73 20 62 65 69 6e 67 | 20 6c 6f 67 67 65 64 2e |ds being| logged.|
|00000760| 20 20 49 66 20 22 53 68 | 6f 77 20 45 76 65 6e 74 | If "Sh|ow Event|
|00000770| 73 22 20 77 65 72 65 20 | 6e 6f 74 20 63 68 65 63 |s" were |not chec|
|00000780| 6b 65 64 2c 20 6e 6f 74 | 68 69 6e 67 20 67 65 74 |ked, not|hing get|
|00000790| 73 20 6c 6f 67 67 65 64 | 20 28 61 6e 6f 74 68 65 |s logged| (anothe|
|000007a0| 72 20 22 73 74 61 72 74 | 20 6c 6f 67 22 20 77 6f |r "start| log" wo|
|000007b0| 75 6c 64 20 62 65 20 6e | 65 65 64 65 64 2e 29 00 |uld be n|eeded.).|
|000007c0| 00 00 c0 00 2a 00 07 01 | 21 a3 68 01 21 a5 b4 01 |....*...|!.h.!...|
|000007d0| da 04 88 01 21 a5 b0 00 | 00 00 02 00 13 00 01 00 |....!...|........|
|000007e0| 14 00 00 02 26 00 03 02 | 2a 00 04 02 56 00 03 02 |....&...|*...V...|
|000007f0| 58 00 04 02 62 00 03 02 | 65 00 04 02 66 00 03 02 |X...b...|e...f...|
|00000800| 6c 00 00 02 9b 00 03 02 | 9d 00 04 02 c6 00 03 02 |l.......|........|
|00000810| cb 00 04 02 d1 00 03 02 | d3 00 04 02 e4 00 03 02 |........|........|
|00000820| ec 00 04 02 f8 00 00 03 | 9e 00 05 03 a2 00 00 04 |........|........|
|00000830| 1c 00 03 04 1e 00 04 04 | 2d 00 03 04 30 00 04 04 |........|-...0...|
|00000840| 57 00 00 04 78 00 04 04 | 92 00 00 04 e6 00 05 04 |W...x...|........|
|00000850| fa 00 00 06 b3 00 03 06 | b5 00 04 06 c7 00 03 06 |........|........|
|00000860| ca 00 04 06 d0 00 03 06 | d2 00 04 06 dc 00 03 06 |........|........|
|00000870| de 00 04 07 0f 00 03 07 | 12 00 04 07 29 00 00 07 |........|....)...|
|00000880| ba ff ff 00 00 00 7e 00 | 08 00 10 00 0c 00 01 00 |......~.|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 01 00 10 00 0c 00 |........|........|
|000008a0| 01 04 00 00 00 00 00 00 | 00 00 00 00 01 00 13 00 |........|........|
|000008b0| 0e 00 01 05 00 00 0e 00 | 00 00 00 00 00 00 0f 00 |........|........|
|000008c0| 0d 00 0a 00 03 01 00 00 | 0a 00 00 00 00 00 00 00 |........|........|
|000008d0| 0f 00 0d 00 0a 00 03 00 | 00 00 0a 00 00 00 00 00 |........|........|
|000008e0| 00 00 02 00 10 00 0c 00 | 01 05 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 10 00 | 0c 00 01 01 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 01 | 30 00 13 00 0e 00 10 00 |........|0.......|
|00000910| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|00000920| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|00000930| 0c 00 10 00 0c 00 10 00 | 0c 00 0d 00 0a 00 0d 00 |........|........|
|00000940| 0a 00 0d 00 0a 00 0d 00 | 0a 00 10 00 0c 00 0d 00 |........|........|
|00000950| 0a 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 0d 00 |........|........|
|00000960| 0a 00 0d 00 0a 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|00000970| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|00000980| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 0d 00 |........|........|
|00000990| 0a 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 0d 00 |........|........|
|000009a0| 0a 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 10 00 |........|........|
|000009b0| 0c 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 10 00 |........|........|
|000009c0| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|000009d0| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|000009e0| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|000009f0| 0c 00 10 00 0c 00 10 00 | 0c 00 10 00 0c 00 10 00 |........|........|
|00000a00| 0c 00 10 00 0c 00 0d 00 | 0a 00 0d 00 0a 00 0d 00 |........|........|
|00000a10| 0a 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 0d 00 |........|........|
|00000a20| 0a 00 0d 00 0a 00 0d 00 | 0a 00 0d 00 0a 00 10 00 |........|........|
|00000a30| 0c 00 10 00 0c 00 10 00 | 0c 00 00 00 08 03 70 04 |........|......p.|
|00000a40| 80 01 21 a5 a8 00 00 00 | 16 00 00 00 00 00 00 00 |..!.....|........|
|00000a50| 10 00 0c 00 01 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 0c 00 00 00 01 00 | 27 00 04 01 61 01 e7 |........|'...a.. |
+--------+-------------------------+-------------------------+--------+--------+